home *** CD-ROM | disk | FTP | other *** search
- /*
- build_str: build a string format structure for the parser.
-
- Kenneth Ingham
-
- Copyright (C) 1988 The University of New Mexico
- */
-
- #include "defs.h"
- #include "y.tab.h"
-
- struct change_fmt_st *
- build_str(string, sarray)
- char **sarray;
- char *string;
- {
- struct change_fmt_st *p;
-
- p = allocate(struct change_fmt_st);
- p->name = string;
- p->fmt.type = STRING;
- p->fmt.fmt.str_value = sarray;
-
- return p;
- }
-